package com.yylc.cscore.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 任务与客服分配关系
 *
 * @author xiangnan
 * date 2018/5/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskRelationEntity {
    private int id;
    private String userId;
    private String serviceId;
    private Integer whLabel;     // 是否已外呼 1:已外呼,0 未外呼
    private Date lastWhTime;     // 最近一次外呼时间
    private String memo;
    private Date    gmtCreate;
    private Date    gmtModified;

    public TaskRelationEntity(String userId, String serviceId) {
        this.userId = userId;
        this.serviceId = serviceId;
        this.whLabel = 0;
    }
}
